//
//  UIButton+YSEventInterval.h
//  YSKitDemo
//
//  Created by Kyson on 2018/12/13.
//  Copyright © 2018 YangShen. All rights reserved.
//
//  其他防止重复点击解决方案
/**
 [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(buttonClickedAction:) object:sender];
 [self performSelector:@selector(buttonClickedAction:) withObject:sender afterDelay:2.0];
 */

#import <UIKit/UIKit.h>

@interface UIButton (YSEventInterval)

/// 设置按钮的点击响应间隔时间
@property (nonatomic, assign) CGFloat ys_eventInterval;

@end
